package ykc.demo.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Slf4j
@Controller
public class InterceptorController {
    @ResponseBody
    @RequestMapping("/sec/hhh")
    public String login(){
        return "用户名后缀为‘r’，访问成功";
    }
}
